#ifndef _LENGTH_H_
#define _LENGTH_H_

#include "Quantity.h"
#include "LengthUnit.h"
#include <ostream>


class Length : public Quantity<LengthUnit>
{
friend std::ostream& operator<<(std::ostream&, const Length&);

public:
    Length(const Amount&, const LengthUnit&, const Formater& formater);
    
private:
    void format(std::ostream& )const;
    const Formater& formater;
};


#endif
